package com.hundredapp.oa.web.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import com.hundredapp.oa.domain.OaStudent;
import com.hundredapp.oa.repository.StudentManager;
import com.opensymphony.xwork2.ActionSupport;


@Repository
@Scope("prototype")
public class UpdateStudent extends ActionSupport{
	@Autowired
	private StudentManager studentManager;
	
	private int id;
	
	public String execute(){
		return SUCCESS;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setStudentManager(StudentManager studentManager) {
		this.studentManager = studentManager;
	}

	public int getId() {
		return id;
	}
}
